﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace jQueryExtensions.Samples.Models
{
    public class OrderModel
    {
        [Required(ErrorMessage = "Required")]
        [Display(Name = "Choose the Stock you want to buy")]
        public int? StockModelId { get; set; }

        [Required(ErrorMessage = "Required")]
        [Display(Name = "Enter the amount you want to buy stocks")]
        public float Ammount { get; set; }


        public int Id { get; set; }
    }
}